<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>显示模式</title>
    <style>
        .div1 {
            height: 400px;
            background-color: red;
            /* display: inline-block; */
        }
        .div2 {
            height: 400px;
            background-color : pink;
            /* display: inline-block; */
        }
        .span1 {
            height: 400px;
            color: red;
            /* display: block; */
        }
        .sapn2 {
            height: 400px;
            color: pink;
            /* display: block; */
        }
        image {
            display: block;
        }
    </style>
</head>
<body>
    <div class="div1">第一行</div>
    <div class="div2">第二行</div>

    <span class="span1">span标签</span>
    <span class="sapn2">span标签</span>

    <img src="../../assets/images/jaybeer1.jpg" alt="" width="200px">
    <img src="../../assets/images/jaybeer1.jpg" alt="" width="200px">
    
</body>
</html>